<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->


<!DOCTYPE html
  PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="zh-cn" xml:lang="zh-cn">
<head>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
   
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="DC.Type" content="topic">
<meta name="DC.Title" content="备份任务失败，错误详情包含&quot;ErrorCode: 00000000&quot;">
<meta name="product" content="">
<meta name="DC.Relation" scheme="URI" content="fc_gud_0064.html">
<meta name="prodname" content="">
<meta name="version" content="">
<meta name="brand" content="">
<meta name="DC.Publisher" content="20250306">
<meta name="prodname" content="csbs">
<meta name="documenttype" content="usermanual">
<meta name="DC.Format" content="XHTML">
<meta name="DC.Identifier" content="fc_gud_0078_2">
<meta name="DC.Language" content="zh-cn">
<link rel="stylesheet" type="text/css" href="public_sys-resources/commonltr.css">
<title>备份任务失败，错误详情包含"ErrorCode: 00000000"</title>
</head>
<body style="clear:both; padding-left:10px; padding-top:5px; padding-right:5px; padding-bottom:5px"><a name="fc_gud_0078_2"></a><a name="fc_gud_0078_2"></a>

<h1 class="topictitle1">备份任务失败，错误详情包含"ErrorCode: 00000000"</h1>
<div><div class="section"><h4 class="sectiontitle">现象描述</h4><p><span>OceanProtect</span>界面上备份事件错误详情中显示：{"ErrorCode": "00000000", "ErrorDesc": "internal error."}，FusionCompute任务中心准备备份资源任务执行到99%后无进展。</p>
</div>
<div class="section"><h4 class="sectiontitle">可能原因</h4><p>受保护的FusionCompute从8.3.0之前版本升级到8.3.0及后续版本后，VRM数据库表中存在残留的socket记录。</p>
</div>
<div class="section"><h4 class="sectiontitle">处理步骤</h4><ol><li><span>登录FusionCompute生产环境CNA主机。</span></li><li><span>执行<strong id="fc_gud_0078_2__fc_gud_0076_b46962458913">su - root</strong>命令，切换到<strong id="fc_gud_0078_2__fc_gud_0076_b7459362090">root</strong>用户。</span></li><li><span>执行以下命令，清理残留的socket记录。</span><p><pre class="screen">python</pre>
<pre class="screen">from vna.storage.object_model.storage import SocketServer as SocketServerModel</pre>
<pre class="screen">socket_objs = SocketServerModel.query(port=35001)</pre>
<pre class="screen">socket_objs[0].delete()</pre>
<pre class="screen">socket_objs = SocketServerModel.query(port=35002)</pre>
<pre class="screen">socket_objs[0].delete()</pre>
</p></li><li><span>清理完成后，重新执行备份任务。</span></li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>父主题：</strong> <a href="fc_gud_0064.html">常见问题</a></div>
</div>
</div>

<div class="hrcopyright"><hr size="2"></div><div class="hwcopyright">版权所有 &copy; 华为技术有限公司</div></body>
</html>